package com.zjw.hello.controller;

import com.zjw.spring.annotation.Component;
import com.zjw.spring.mvc.annotation.RequestMapping;

@Component
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping("/getUser")
    public User getUser(User user){
        System.out.println(user);
        return user;
    }

}
